<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>登录页面</title>
    <link rel="stylesheet" href="css/b.css">
</head>
<bodyalign="center"
	style="background-image: url(images/a.gif); background-size: 100%;">
 
         <form action="Servlet?method=dopost" method="post" class="box">
    <h1>登录</h1>
    <!--placeholder="用户名"  :默认显示-->
    <input id="username" type="text" name="username" placeholder="用户名">
    <input id="password" type="password" name="password" placeholder="密码">
    <li>
						<th><font color="black">类别</font></th> <select name="leibie">
							<option>学生</option>
							<option>老师</option>
							<option>管理员</option>
					</select>
					</li>
    <input type="submit" value="登录">
    <p class="meassage">还未注册？<a href="zhuce.jsp"> 注册</a>
    </p>
    <div class="checkbox">
        <label>
            <input type="checkbox"><span id="checkbox1" class="checkboxmessage" style="font-size: 12px;">记住密码</span>
        </label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <label>
            <input type="checkbox"><span id="checkbox2" class="checkboxmessage" style="font-size: 12px;">自动登录</span>
        </label>
    </div>
</form>
</body>
</html>